﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TuanHuy.BLL;

public partial class Home : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
            loadData();
    }

    private void loadData()
    {
        rpProduct.DataSource = ProductsLanguageManager.CreateInstant().SelectAllLST().ToList();
        rpProduct.DataBind();
        rpProjects.DataSource = ProjectsLanguageManager.CreateInstant().SelectAllLST().ToList();
        rpProjects.DataBind();
    }


}